package threadDemo5;

public class Demo {
    public static void main(String[] args) {
        // 获得线程对象和线程名字
         System.out.println(Thread.currentThread().getName());
    }
}
